package kr.salebeans.cm.customer.search;

import kr.salebeans.cm.common.PagingCond;

public class CustomerSearchCond extends PagingCond {

    /** */
    private static final long serialVersionUID = 3960279727087417002L;

    public enum CustomerSearchType {
        NAME("이름"), //
        GENDER("성별"), //
        //        PHONE_NO("전화번호"), //
        ALL("전체"), ;

        private final String description;

        private CustomerSearchType(String description) {
            this.description = description;
        }

        public String getDescription() {
            return description;
        }

    }

    public CustomerSearchCond() {

    }

    public CustomerSearchCond(int firstIndex, int maxIndex) {
        super(firstIndex, maxIndex);
    }

    private CustomerSearchType searchType;

    private String shopId;

    private String name;

    private String gender;

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    //    public String getPhoneNo() {
    //        return phoneNo;
    //    }
    //
    //    public void setPhoneNo(String phoneNo) {
    //        this.phoneNo = phoneNo;
    //    }

    public CustomerSearchType getSearchType() {
        return searchType;
    }

    public void setSearchType(CustomerSearchType searchType) {
        this.searchType = searchType;
    }

}
